package com.boyunvision.entity.responsresult;

import com.boyunvision.entity.responsresult.IseRestfulBaseJson;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

public class PushImageJson extends IseRestfulBaseJson {
  @JsonInclude(JsonInclude.Include.NON_EMPTY)
  @JsonProperty("index")
  private long index;
  
  public PushImageJson() {}
  
  public PushImageJson(int retcode, String errstr, long index) {
    setRetcode(retcode);
    setErrstr(errstr);
    this.index = index;
  }
  
  public long getIndex() {
    return this.index;
  }
  
  public void setIndex(long index) {
    this.index = index;
  }
}